package com.book.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author wx
 * @since 2023-10-12 10:34:29
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("operator_role")
public class OperatorRole implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 运营商角色id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 运营商id
     */
    @TableField("oid")
    private Long oid;

    /**
     * 角色id
     */
    @TableField("rid")
    private Long rid;

    /**
     * 预留字段
     */
    @TableField("attr1")
    private String attr1;

    @TableField("attr2")
    private String attr2;

    /**
     * 预留字段
     */
    @TableField("attr3")
    private Long attr3;


    public static final String ID = "id";

    public static final String OID = "oid";

    public static final String RID = "rid";

    public static final String ATTR1 = "attr1";

    public static final String ATTR2 = "attr2";

    public static final String ATTR3 = "attr3";

}
